package com.base.common.persistent.model;

import java.util.Date;

public class Transaction {

    private int categories;                // 交易类别，0收款，1退款
    private int fee;
    private Date gmt_create;
    private Date gmt_payment;
    private int id;
    private String out_refund_no;
    private String out_trade_no;
    private int payWay;                    // 支付方式，0 支付宝，1 微信，2 银联
    private String remarks;
    private int status;                    // 交易状态  -2 交易关闭，-1 交易失败，0 等待付款，1 交易成功
    //	private String ResID;
    private Terminal terminal;
    private int terminal_id;
    private int type;                    // 交易类型， 0 APP，默认为0
    private User user;
    private int user_id;

    public int getCategories() {
        return categories;
    }

    public int getFee() {
        return fee;
    }

    public Date getGmt_create() {
        return gmt_create;
    }

    public Date getGmt_payment() {
        return gmt_payment;
    }

    public int getId() {
        return id;
    }

    public String getOut_refund_no() {
        return out_refund_no;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public int getPayWay() {
        return payWay;
    }

    public String getRemarks() {
        return remarks;
    }

    public int getStatus() {
        return status;
    }

    public Terminal getTerminal() {
        return terminal;
    }

    public int getTerminal_id() {
        return terminal_id;
    }

    public int getType() {
        return type;
    }

    public User getUser() {
        return user;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setCategories(int categories) {
        this.categories = categories;
    }

    public void setFee(int fee) {
        this.fee = fee;
    }

    public void setGmt_create(Date gmt_create) {
        this.gmt_create = gmt_create;
    }

    public void setGmt_payment(Date gmt_payment) {
        this.gmt_payment = gmt_payment;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public void setPayWay(int payWay) {
        this.payWay = payWay;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

	/*public String getResID() {
        return ResID;
	}

	public void setResID(String resID) {
		ResID = resID;
	}*/

    public void setStatus(int status) {
        this.status = status;
    }

    public void setTerminal(Terminal terminal) {
        this.terminal = terminal;
    }

    public void setTerminal_id(int terminal_id) {
        this.terminal_id = terminal_id;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }
}
